package com.modificial.springboot.dao;

import com.modificial.springboot.entity.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author modificial
 * @data 2018/12/3
 * @since 8:56
 */
@Repository
public interface UserDao {

    @Select(value = "SELECT * FROM t_user")
    List<User> listUsers();
}
